package com.example.hotelmanagement.mapper;

import com.example.hotelmanagement.entity.Room;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomMapper {
    List<Room> findAll();
    Room findById(Integer roomId);
    Room findByRoomNumber(String roomNumber);
    List<Room> findByStatus(String status);
    int insert(Room room);
    int update(Room room);
    int delete(Integer roomId);
}